<?php

declare(strict_types=1);

namespace Modules\Demo\Models;

use Catch\Base\CatchModel as Model;

/**
 * @property $id
 * @property $name
 * @property $creator_id
 * @property $created_at
 * @property $updated_at
 * @property $deleted_at
*/
class Aaa extends Model
{

//    protected $connection = 'k12';
    protected $table = 'k12_aaa';

    protected $fillable = [ 'id', 'name', 'created_at', 'updated_at', 'deleted_at' ];

    /**
     * @var array
     */
    protected array $fields = ['id','name','created_at','updated_at'];

    /**
     * @var array
     */
    protected array $form = ['name'];

    /**
     * @var array
     */
    public array $searchable = [
        'name' => 'like',

    ];


}
